package edu.vt.ece.rt.benchmark.counter;


public class Benchmark extends edu.vt.ece.rt.benchmark.Benchmark {


	@Override
	protected void createLocalObjects() {
		new Counter("counter",0);
	}

	
	@Override
	protected Object randomId() {
		return null;
	}
	
	
	@Override
	protected int getOperandsCount() {
		return 0;
	}

	@Override
	protected void readOperation(Object... ids) {
//		System.out.println("Count is "+
		Counter.read(null);
	}

	@Override
	protected void writeOperation(Object... ids) {
//		System.out.println("Count is "+
	    Counter.write(nesting);
	}

	@Override
	protected void checkSanity() {
	}


	@Override
	protected String getLabel() {
		return "counter-qr";
	}

}
